package com.uls.lh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 车辆费用管理（按天数计算）对象 lh_car_fee
 * 
 * @author lh
 * @date 2024-11-25
 */
public class LhCarFee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 费用编号 */
    private Long feeId;

    /** 申请编号 */
    @Excel(name = "申请编号")
    private Long requestId;

    /** 费用标准编号 */
    @Excel(name = "费用标准编号")
    private Long feestandardId;

    /** 车辆编号，关联车辆信息表 */
    @Excel(name = "车辆编号，关联车辆信息表")
    private Long carId;

    @Excel(name = "车辆名称")
    private String model;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    /** 费用产生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用产生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usageDate;

    /** 使用天数 */
    @Excel(name = "使用天数")
    private Long daysUsed;

    /** 每日费用 */
    @Excel(name = "每日费用")
    private Long feePerDay;

    /** 总费用（按天数计算） */
    @Excel(name = "总费用", readConverterExp = "按=天数计算")
    private Long totalFee;

    public void setFeeId(Long feeId) 
    {
        this.feeId = feeId;
    }

    public Long getFeeId() 
    {
        return feeId;
    }
    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }
    public void setFeestandardId(Long feestandardId) 
    {
        this.feestandardId = feestandardId;
    }

    public Long getFeestandardId() 
    {
        return feestandardId;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setUsageDate(Date usageDate) 
    {
        this.usageDate = usageDate;
    }

    public Date getUsageDate() 
    {
        return usageDate;
    }
    public void setDaysUsed(Long daysUsed) 
    {
        this.daysUsed = daysUsed;
    }

    public Long getDaysUsed() 
    {
        return daysUsed;
    }
    public void setFeePerDay(Long feePerDay) 
    {
        this.feePerDay = feePerDay;
    }

    public Long getFeePerDay() 
    {
        return feePerDay;
    }
    public void setTotalFee(Long totalFee) 
    {
        this.totalFee = totalFee;
    }

    public Long getTotalFee() 
    {
        return totalFee;
    }

    @Override
    public String toString() {
        return "LhCarFee{" +
                "feeId=" + feeId +
                ", requestId=" + requestId +
                ", feestandardId=" + feestandardId +
                ", carId=" + carId +
                ", model='" + model + '\'' +
                ", usageDate=" + usageDate +
                ", daysUsed=" + daysUsed +
                ", feePerDay=" + feePerDay +
                ", totalFee=" + totalFee +
                '}';
    }
}
